<wicket:extend>
	<div class="card gpg-trusted-keys">
		<div class="card-body">
			<div class="alert alert-light alert-notice mb-4">
				<wicket:t>Add GPG public keys to be trusted here. Commits signed with trusted keys will be shown as verified.</wicket:t>
			</div>
			<a wicket:id="newKey" class="btn btn-primary btn-icon mb-4" t:data-tippy-content="Add GPG key"><wicket:svg href="plus" class="icon"></wicket:svg></a>
			<table wicket:id="keys" class="table table-hover"></table>
		</div>
	</div>
	<wicket:fragment wicket:id="actionFrag">
		<a wicket:id="delete" class="btn btn-xs btn-icon btn-light btn-hover-danger" t:data-tippy-content="Delete this key"><wicket:svg href="trash" class="icon"></wicket:svg></a>
	</wicket:fragment>
	<wicket:fragment wicket:id="addKeyFrag">
		<div class="add-gpg-trusted-key">
			<div class="modal-header">
				<h5 class="modal-title"><wicket:t>Add a GPG Public Key</wicket:t></h5>
				<button wicket:id="close" type="button" class="close"><wicket:svg href="times" class="icon"/></button>
			</div>
			<form wicket:id="form">
				<div class="modal-body">
					<div wicket:id="editor"></div>
				</div>
				<div class="modal-footer">
					<input wicket:id="add" type="submit" class="btn btn-primary dirty-aware" t:value="Add">
					<button wicket:id="cancel" type="button" class="btn btn-secondary"><wicket:t>Cancel</wicket:t></button>
				</div>
			</form>
		</div>
	</wicket:fragment>
</wicket:extend>